package cn.myblog.ainblog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Dovaior
 * @Description 博文标签关系表的实体类
 * @create 2021-04-15 08:41
 **/
@Data
@TableName("ain_article_tags")
public class ArticleTagModel {
    /**
     * 博文ID
     */
    @TableId(value = "article_id" ,type = IdType.INPUT)
    private String articleId;
    /**
     * 标签ID
     */
    @TableField(value = "tag_id")
    private String tagId;
}
